#!/usr/bin/env python
# coding: UTF-8
#filename: D:/workspace/python/demo/mybatishandler/Mapper.py
from mybatishandler.ResultMap import ResultMap

'''
Created on 2013-7-12 下午2:06:28

@author: zhanghu
'''

class Mapper(object):
    '''
    classdocs
    '''
    fileName = None
    persistentFile = None
    resultMap = ResultMap()


    def __init__(self):
        '''
        Constructor
        '''
        
    def setResultMap(self, resultMap):
        self.resultMap = resultMap
        
    def getAllField(self):
        return self.resultMap.getAllField()
        
    def showStr(self):
        print 'fileName:%s' % self.fileName
        if self.resultMap is not None:
            print self.resultMap.showStr()
        
